<script type="text/html" template>
  <link rel="stylesheet" href="{{ layui.setter.base }}style/login.css?v={{ layui.admin.v }}-1" media="all">
</script>


<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login"
  style="display: none; background-image: url(?act=getBackground);">

  <div class="layadmin-user-login-main" bgimg>
    <div class="layadmin-user-login-box layadmin-user-login-header">
      <h2>用户登录</h2>
      <p>一站式账户聚合登录系统</p>
    </div>
    <form class="layadmin-user-login-box layadmin-user-login-body layui-form" lay-filter="user_form">
      <div class="layui-form-item">
        <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="admin-login-username"></label>
        <input type="text" name="user" id="admin-login-username" lay-verify="required|loginuser" placeholder="用户名/邮箱"
          class="layui-input">
      </div>
      <div class="layui-form-item">
        <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="admin-login-password"></label>
        <input type="password" name="pass" id="admin-login-password" lay-verify="required|pass" placeholder="密码"
          class="layui-input">
      </div>
      <div class="layui-form-item">
        <div class="layui-row">
          <div class="layui-col-xs7">
            <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="admin-login-vercode"></label>
            <input type="text" name="captcha" id="admin-login-vercode" autocomplete="off" lay-verify="required|captcha"
              placeholder="图形验证码" class="layui-input">
          </div>
          <div class="layui-col-xs5">
            <div style="margin-left: 10px;">
              <img src="../includes/captcha.php" class="layadmin-user-login-codeimg" id="admin-get-vercode">
            </div>
          </div>
        </div>
      </div>
      <div class="layui-form-item" style="margin-bottom: 20px;">
        <input type="checkbox" name="remember" lay-skin="primary" title="记住密码">
        <a class="layadmin-user-jump-change button-click" data-type="forget" style="margin-top: 7px;">忘记密码？</a>

      </div>
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-default layui-btn-fluid" lay-submit lay-filter="admin-login-submit">登
          入</button>
      </div>
      <div class="layui-trans layui-form-item layadmin-user-login-other">
        <label>快捷登录</label>
        <a href="javascript:oauthlogin('qq');"><i class="layui-icon layui-icon-login-qq"></i></a>
        <a href="javascript:oauthlogin('wx');"><i class="layui-icon layui-icon-login-wechat"></i></a>
        <a href="javascript:oauthlogin('wb');"><i class="layui-icon layui-icon-login-weibo"></i></a>

        <a class="layadmin-user-jump-change button-click" data-type="reg">注册帐号</a>
      </div>
    </form>
  </div>

  <div class="layui-trans layadmin-user-login-footer">
    <script type="text/html" template>
      <span><a style="color: #ffffff;"
          href="../">{{ layui.data(layui.setter.tableName).web_name || '聚合快捷登录中转API' }}</a></span>
      <span><a style="color: #ffffff;" href="{{ layui.data(layui.setter.tableName).author }}"
          target="_blank">联系客服</a></span>
    </script>
  </div>

  <script>
    layui.use('user', layui.factory('user'));
  </script>